/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package minimalshift;

/**
 *
 * @author Michal
 */
public class Shift {

	private int start;
	private int finish;
	private int len;

	public Shift(int start, int len) {
		this(start, len, len + start);
	}

	public Shift(int start, int len, int finish) {
		this.start = start;
		this.len = len;
		this.finish = finish;
	}

	/**
	 * @return the start
	 */
	public int getStart() {
		return start;
	}

	/**
	 * @return the finish
	 */
	public int getFinish() {
		return finish;
	}

	public int getLen() {
		return len;
	}
}
